﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace CashOrCard.Models
{
    public class Promotion
    {
        public int PromotionId { get; set; }
        public string PromotionName { get; set; }
        public string PromotionBody { get; set; }
        public string PromotionImagePath { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public bool isEnable { get; set; }

        public virtual ICollection<PromotionComment> PromotionComments { get; set; }

        public virtual AdvtSite AdvtSite { get; set; }
    }
}